package com.molichuxing.services.infrastructure.service;


import com.molichuxing.framework.dto.Paged;
import com.molichuxing.services.infrastructure.dto.request.create.LicencePlateCreateDto;
import com.molichuxing.services.infrastructure.dto.request.modify.LicencePlateModifyDto;
import com.molichuxing.services.infrastructure.dto.response.CarDto;
import com.molichuxing.services.infrastructure.dto.response.LicencePlateDto;
import com.molichuxing.services.property.CarLicencePlateStatusEnum;

/**
 * 车牌 服务类
 * @author xuelin yi
 */
public interface LicencePlateService {

    /**
     * 根据车辆id获取车牌信息
     * @param carId
     * @return
     */
    public LicencePlateDto getLicensePlateByCarId(Integer carId);

    /**
     * 新增车牌信息
     * @param createDto
     * @return
     */
    public int createLicensePlate(LicencePlateCreateDto createDto);

    /**
     * 编辑车牌信息
     * @param createDto
     * @return
     */
    public int modifyLicensePlate(LicencePlateModifyDto createDto);
}
